﻿using System.Data;
using DAL;

namespace BLL
{
    public class BllUserPermisstion
    {
        #region[Get-Data]
        public DataTable GetUserPermisstion(string keywords, int Group_User)
        {
            return DalUserPermisstion.GetUserPermisstion(keywords, Group_User);
        }
        public DataTable GetUserPermisstionAll(string keywords)
        {
            return DalUserPermisstion.GetUserPermisstionAll(keywords);
        }
        public DataTable GetUserPermisstionEdit(int id)
        {
            return DalUserPermisstion.GetUserPermisstionEdit(id);
        }
        public DataTable GetUserPermisstionFillter(string ModulesMain_ID, string ModulesParrent_ID, string GroupUser)
        {
            return DalUserPermisstion.GetUserPermisstionFillter(ModulesMain_ID, ModulesParrent_ID, GroupUser);
        }
        #endregion

        #region[Insert-Update-Delete]
        public static bool Insert(EtUserPermisstion obj)
        {
            return DalUserPermisstion.Insert(obj);
        }
        public static bool Update(EtUserPermisstion obj)
        {
            return DalUserPermisstion.Update(obj);
        }
        public static bool Delete(EtUserPermisstion obj)
        {
            return DalUserPermisstion.Delete(obj);
        }
        #endregion
    }
}